package com.sun.mapper;

import com.sun.entity.Teacher;
import org.springframework.cache.annotation.Cacheable;

public interface TeacherMapper {
    int deleteByPrimaryKey(String id);

    int insert(Teacher record);

    int insertSelective(Teacher record);
    @Cacheable(value = "EhcacheTest")
    Teacher selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(Teacher record);

    int updateByPrimaryKey(Teacher record);
}